package edu.tgc.web.controller.system;

import java.util.UUID;

import org.abyss.excel.annotation.ExcelColumn;
import org.abyss.excel.wrapper.AbstractExcelDataWrapper;

import edu.tgc.entity.system.SysUser;

public class SysUserWrapper extends AbstractExcelDataWrapper<SysUser> {

    @ExcelColumn(name = "编号", order = 1)
    public UUID getId() {
        return this.data.getId();
    }

    @ExcelColumn(name = "姓名", order = 3)
    public String getName() {
        return this.data.getCade().getName();
    }

    @ExcelColumn(name = "登陆名", order = 2)
    public String getUsername() {
        return this.data.getUsername();
    }

}
